package com.example.newproject_overseas.model.service.form

import com.example.newproject_overseas.model.Network
import com.example.newproject_overseas.model.entity.form.CenobitismRequest
import com.example.newproject_overseas.model.entity.form.CenobitismResponse
import retrofit2.http.Body
import retrofit2.http.POST


interface CenobitismService {

    @POST("hydroski-anciently/dunedin-epithalamium/sorbol-cenobitism")
    suspend fun sorbolCenobitism(@Body request: CenobitismRequest): CenobitismResponse

    companion object{
        fun instance(): CenobitismService {
            return Network.createService(CenobitismService::class.java)
        }
    }
}